package pers.cj.pdos.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 企业账号信息
 * </p>
 *
 * @author chenj
 * @since 2020-04-27
 */
public class Company extends Model<Company> {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 商户代码
     */
    private String code;

    /**
     * 管理账号
     */
    private String account;

    /**
     * 商户名称
     */
    private String name;

    /**
     * 开启日期
     */
    private Date startDate;

    /**
     * 到期日期
     */
    private Date endDate;

    /**
     * 管理员姓名
     */
    private String adminName;

    /**
     * 公司地址
     */
    private String address;

    /**
     * 所属行业
     */
    private String industryId;

    /**
     * 网址
     */
    private String website;

    /**
     * 联系人
     */
    private String contacts;

    /**
     * 联系电话
     */
    private String phone;

    /**
     * 电子邮件
     */
    private String email;

    /**
     * QQ账号
     */
    private String qq;

    /**
     * 备注
     */
    private String remark;

    /**
     * 老板寄语
     */
    private String notice;

    private Date time;

    /**
     * 企业logo
     */
    private String logo;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }
    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    public String getIndustryId() {
        return industryId;
    }

    public void setIndustryId(String industryId) {
        this.industryId = industryId;
    }
    public String getWebsite() {
        return website;
    }

    public void setWebsite(String website) {
        this.website = website;
    }
    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getNotice() {
        return notice;
    }

    public void setNotice(String notice) {
        this.notice = notice;
    }
    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Company{" +
            "id=" + id +
            ", code=" + code +
            ", account=" + account +
            ", name=" + name +
            ", startDate=" + startDate +
            ", endDate=" + endDate +
            ", adminName=" + adminName +
            ", address=" + address +
            ", industryId=" + industryId +
            ", website=" + website +
            ", contacts=" + contacts +
            ", phone=" + phone +
            ", email=" + email +
            ", qq=" + qq +
            ", remark=" + remark +
            ", notice=" + notice +
            ", time=" + time +
            ", logo=" + logo +
        "}";
    }
}
